Channel
A pair of a channel number, mode and the (sharable) settings for that channel
Content copied to clipboard
meshtastic.Channel
Types
Link copied to clipboard
A pair of a channel number, mode and the (sharable) settings for that channel
Content copied to clipboard
meshtastic.Channel
Link copied to clipboard
How this channel is being used (or not).
Note: this field is an enum to give us options for the future.
In particular, someday we might make a 'SCANNING' option.
SCANNING channels could have different frequencies and the radio would
occasionally check that freq to see if anything is being transmitted.
For devices that have multiple physical radios attached, we could keep multiple PRIMARY/SCANNING channels active at once to allow
cross band routing as needed.
If a device has only a single radio (the common case) only one channel can be PRIMARY at a time
(but any number of SECONDARY channels can't be sent received on that common frequency)
Content copied to clipboard
meshtastic.Channel.Role
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The index of this channel in the channel table (from 0 to MAX_NUM_CHANNELS-1)
(Someday - not currently implemented) An index of -1 could be used to mean "set by name",
in which case the target node will find and set the channel by settings.name.
Content copied to clipboard
int32 index = 1;
Link copied to clipboard
Link copied to clipboard
TODO: REPLACE
Content copied to clipboard
.meshtastic.Channel.Role role = 3;
Link copied to clipboard
TODO: REPLACE
Content copied to clipboard
.meshtastic.Channel.Role role = 3;
Link copied to clipboard
Link copied to clipboard
The new settings, or NULL to disable that channel
Content copied to clipboard
.meshtastic.ChannelSettings settings = 2;
Link copied to clipboard
The new settings, or NULL to disable that channel
Content copied to clipboard
.meshtastic.ChannelSettings settings = 2;
Link copied to clipboard
The new settings, or NULL to disable that channel
Content copied to clipboard
.meshtastic.ChannelSettings settings = 2;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ChannelProtos.Channel
Link copied to clipboard
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): ChannelProtos.Channel
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): ChannelProtos.Channel
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): ChannelProtos.Channel
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): ChannelProtos.Channel
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): ChannelProtos.Channel
Link copied to clipboard
Link copied to clipboard